package com.zhuangjie.base.dto.page;


import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;

/**
 * 分页输入
 *
 * @author zhuangjie
 * @date 2023/05/13
 */
@Getter
@Setter
public class PageDTO {
    @Min(value = 1,message = "一页的数据条数至少一条")
    private Integer pageSize;
    @Min(value = 1,message = "页码必须范围必须是[0,)")
    private Integer currentPage;
}
